package com.weilong.lw.myunittestdemo.toolbar;

import android.os.Bundle;
import android.support.v7.widget.Toolbar;

import com.weilong.lw.myunittestdemo.R;

public class MyToolbar1Activity extends ToolbarActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_toolbar1);
    }

    /*
     *添加自定义的toolbar布局文件
     *
     */
    @Override
    public void onCreateCustomToolBar(Toolbar toolbar) {
        super.onCreateCustomToolBar(toolbar);
        toolbar.showOverflowMenu();
        getLayoutInflater().inflate(R.layout.toolbar_zdy, toolbar);

    }


}

